<script>
export default {
  name: "back",
  methods: {
    backClick() {
      this.$router.go(-1);
    }
  }
};
</script>

<template>
  <div>
    <div class="back" @click="backClick">
      <!--    back-->
      <i class="el-icon-arrow-left"></i>
    </div>
  </div>
</template>

<style scoped>
.back{
  left: 40px;
  bottom: 200px;
  position: fixed;
  background-color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #409eff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 6px rgba(0,0,0,.12);
  cursor: pointer;
  z-index: 5;
}
</style>

